[INFO] fetching crate windows-dll 0.2.0...
[INFO] checking windows-dll-0.2.0 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate windows-dll 0.2.0 into /workspace/builds/worker-12/source
[INFO] validating manifest of crates.io crate windows-dll 0.2.0 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate windows-dll 0.2.0
[INFO] finished tweaking crates.io crate windows-dll 0.2.0
[INFO] tweaked toml for crates.io crate windows-dll 0.2.0 written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8da9a4e539b3bddc249a75d82e1aecb5bd60dd2b7e55e96af8997dbdd196c519
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8da9a4e539b3bddc249a75d82e1aecb5bd60dd2b7e55e96af8997dbdd196c519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8da9a4e539b3bddc249a75d82e1aecb5bd60dd2b7e55e96af8997dbdd196c519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8da9a4e539b3bddc249a75d82e1aecb5bd60dd2b7e55e96af8997dbdd196c519", kill_on_drop: false }`
[INFO] [stdout] 8da9a4e539b3bddc249a75d82e1aecb5bd60dd2b7e55e96af8997dbdd196c519
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e13f83eb29e290044d2ca995ec64237468dcca6e22a60d4c74c7933cc7c2ad5a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e13f83eb29e290044d2ca995ec64237468dcca6e22a60d4c74c7933cc7c2ad5a", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling windows-dll-codegen v0.2.0
[INFO] [stderr]     Checking thiserror v1.0.20
[INFO] [stderr]     Checking windows-dll v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shared::{
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     um::winnt::{LPCSTR, LPCWSTR},
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use winapi::um::winuser::MAKEINTRESOURCEA;
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     use winapi::um::libloaderapi::{LoadLibraryW, GetProcAddress};
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shared::{
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     um::winnt::{LPCSTR, LPCWSTR},
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use winapi::um::winuser::MAKEINTRESOURCEA;
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     use winapi::um::libloaderapi::{LoadLibraryW, GetProcAddress};
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> src/lib.rs:14:83
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                                                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope
[INFO] [stdout]   --> src/lib.rs:14:106
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                                                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]   --> src/lib.rs:14:122
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `<FARPROC>`                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEINTRESOURCEA` in this scope
[INFO] [stdout]   --> src/lib.rs:17:50
[INFO] [stdout]    |
[INFO] [stdout] 17 |     load_dll_proc_name(name, proc, name_lpcwstr, MAKEINTRESOURCEA(proc_ordinal))
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> src/lib.rs:20:80
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                                                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope
[INFO] [stdout]   --> src/lib.rs:20:100
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                                                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]   --> src/lib.rs:20:118
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                 - help: you might be missing a type parameter: `<FARPROC>`                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope
[INFO] [stdout]   --> src/lib.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let library = LoadLibraryW(name_lpcwstr);
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:28:28
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let function_pointer = GetProcAddress(library, proc_name);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> src/lib.rs:14:83
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                                                                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope
[INFO] [stdout]   --> src/lib.rs:14:106
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                                                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]   --> src/lib.rs:14:122
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                    - help: you might be missing a type parameter: `<FARPROC>`                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEINTRESOURCEA` in this scope
[INFO] [stdout]   --> src/lib.rs:17:50
[INFO] [stdout]    |
[INFO] [stdout] 17 |     load_dll_proc_name(name, proc, name_lpcwstr, MAKEINTRESOURCEA(proc_ordinal))
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope
[INFO] [stdout]   --> src/lib.rs:20:80
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                                                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope
[INFO] [stdout]   --> src/lib.rs:20:100
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                                                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]   --> src/lib.rs:20:118
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result<FARPROC, Error> {
[INFO] [stdout]    |                                 - help: you might be missing a type parameter: `<FARPROC>`                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope
[INFO] [stdout]   --> src/lib.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let library = LoadLibraryW(name_lpcwstr);
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/lib.rs:28:28
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let function_pointer = GetProcAddress(library, proc_name);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `windows-dll`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "e13f83eb29e290044d2ca995ec64237468dcca6e22a60d4c74c7933cc7c2ad5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e13f83eb29e290044d2ca995ec64237468dcca6e22a60d4c74c7933cc7c2ad5a", kill_on_drop: false }`
[INFO] [stdout] e13f83eb29e290044d2ca995ec64237468dcca6e22a60d4c74c7933cc7c2ad5a
